<?php if (!defined('THINK_PATH')) exit();?>﻿<!DOCTYPE html>
<html lang="zh-cn">
<head>		
	<title><?php echo C('sitename');?></title>
    <meta property="qc:admins" content="23604025437671021661642636" />
	<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<meta name="viewport" content="width=device-width, initial-scale=1.0, maximum-scale=1.0, user-scalable=no" />
	<link rel="stylesheet" href="/newblog/Public/Home/css/pintuer.css">
	<link rel="stylesheet" href="/newblog/Public/Home/css/my.css">
	<link rel="stylesheet" href="/newblog/Public/Home/css/page_css.css">	
	<link rel="stylesheet" href="/newblog/Public/Home/css/gotop.css" />
    <!--小飞机-->
    <link rel="stylesheet" href="/newblog/Public/Home/css/plane.css" />

    <script src="/newblog/Public/Home/js/jquery.js"></script>
	<script src="/newblog/Public/Home/js/pintuer.js"></script>
	<script src="/newblog/Public/Home/js/respond.js"></script>
	<script src="/newblog/Public/Home/layer/layer.js"></script>
	<script src="/newblog/Public/Home/js/gotop.js" ></script>
	<script src="/newblog/Public/Home/js/jquery.touchSlider.js"></script>

<script type="text/javascript">
$(document).ready(function(){

	$(".main_visual").hover(function(){
		$("#btn_prev,#btn_next").fadeIn()
	},function(){
		$("#btn_prev,#btn_next").fadeOut()
	});
	
	$dragBln = false;
	
	$(".main_image").touchSlider({
		flexible : true,
		speed : 600,
		btn_prev : $("#btn_prev"),
		btn_next : $("#btn_next"),
		paging : $(".flicking_con a"),
		counter : function (e){
			$(".flicking_con a").removeClass("on").eq(e.current-1).addClass("on");
		}
	});
	
	$(".main_image").bind("mousedown", function() {
		$dragBln = false;
	});
	
	$(".main_image").bind("dragstart", function() {
		$dragBln = true;
	});
	
	$(".main_image a").click(function(){
		if($dragBln) {
			return false;
		}
	});
	
	timer = setInterval(function(){
		$("#btn_next").click();
	}, 4000); 
	
	$(".main_visual").hover(function(){
		clearInterval(timer);
	},function(){
		timer = setInterval(function(){
			$("#btn_next").click();
		},4000);
	});
	
	$(".main_image").bind("touchstart",function(){
		clearInterval(timer);
	}).bind("touchend", function(){
		timer = setInterval(function(){
			$("#btn_next").click();
		}, 4000);
	});
	
});
</script>

</head>

<body style="background-image: url(http://img5q.duitang.com/uploads/item/201312/14/20131214173112_MZPAa.jpeg);">
<!--------------------小火箭返回顶部代码---------------->
<!--<div style="display: none;" id="rocket-to-top">
    <div style="opacity:0;display: block;" class="level-2"></div>
    <div class="level-3"></div>
</div>-->
<!---------------------------------------------------------->
<div class="demo-nav padding-big-top fixed">
	<div class="container padding-big">
		<div class="line header_top">
			<div class="xl12 xs1 xm1 xb1">
				<button class="button icon-navicon float-right" data-target="#header-demo"></button>
				<a href="<?php echo U('Index/index');?>"><img  height="50" src="/newblog/Public/Home/images/logo.png" class="ring-hover"/></a>

			</div>
			<div class=" xl12 xs11 xm11 xb11 nav-navicon" id="header-demo">
				<div class="xs8 xm6 xb8 padding-small">
					<ul class="nav nav-menu nav-inline nav-big">
						<li <?php if(strtolower($nownav['m']) == 'index'): ?>class="l_active"<?php endif; ?>><a href="<?php echo U('/index');?>">首页</a></li>
						<li <?php if(strtolower($nownav['m']) == 'class'): ?>class="l_active"<?php endif; ?>>
							<a href="#">片段<span class="arrow"></span></a>
							<ul class="drop-menu">
								<?php if(is_array($cate)): $i = 0; $__LIST__ = $cate;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?><li><a href="<?php echo U('Class/index',array('id'=>$vo['cate_id']));?>"><?php echo ($vo["cate_name"]); ?></a></li><?php endforeach; endif; else: echo "" ;endif; ?>
							</ul>
						</li>
						<li <?php if(strtolower($nownav['m']) == 'said'): ?>class="l_active"<?php endif; ?>><a href="<?php echo U('/said');?>">唠叨</a></li>
						<li <?php if(strtolower($nownav['m']) == 'liuyan'): ?>class="l_active"<?php endif; ?>><a href="<?php echo U('/liuyan');?>">脚印</a></li>
						<li <?php if(strtolower($nownav['m']) == 'friend'): ?>class="l_active"<?php endif; ?>><a href="<?php echo U('/friend');?>">朋友</a></li>
						<li <?php if(strtolower($nownav['m']) == 'about'): ?>class="l_active"<?php endif; ?>><a href="<?php echo U('/about');?>">我</a></li>
					</ul>
				</div>
				<div class="xs4 xm3 xb4">
					<form>
						<div class="input-group padding-little-top">
							<input type="text" class="search_top input border-main" name="keywords" size="30" placeholder="请输入关键词" />
							<span class="addbtn"><button type="button" class="search_btn button bg-main icon-search "></button></span>
						</div>
					</form>
				</div>
			</div>
		</div>
	</div>
</div>







<div class="container">
    <div class="line">
        <div class="xs6 xm4 xs3-move xm4-move">
            <br>
            <br>
            <br>
            <br>
            <br>

            <form action="<?php echo U('User/login');?>" method="post">
                <div class="panel padding bg-white">
                    <div class="text-center">
                        <br>
                        <h2><strong>账号登录</strong></h2></div>
                    <div class="" style="padding:30px;">
                        <div class="form-group">
                            <div class="field field-icon-right">
                                <input type="text" class="input" name="username" placeholder="登录账号" data-validate="required:请填写账号,length#>=5:账号长度不符合要求" />
                                <span class="icon icon-user"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="field field-icon-right">
                                <input type="password" class="input" name="password" placeholder="登录密码" data-validate="required:请填写密码,length#>=8:密码长度不符合要求" />
                                <span class="icon icon-key"></span>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="field">
                                <button class="button button-block bg-main text-big">立即登录</button>
                            </div>
                        </div>
                        <div class="form-group">
                            <div class="field text-center">
                                <p class="text-muted text-center"> <!--<a class="" href="#"><small>忘记密码了？</small></a>-->
                                    <a class="button border-main bg" href="<?php echo U('Base/loginQq');?>"><img height="20px" src="/newblog/Public/Home/images/qq.png" /> QQ登录</a> &nbsp;&nbsp; <a class="button border-main bg" href="<?php echo U('User/register');?>">注册新账号</a>
                                </p>
                            </div>
                        </div>
                    </div>
                </div>
            </form>
        </div>
    </div>
</div>
</body>

</html>